﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VitCode.Castle.Entities;
using VitCode.ObjectResolutionHelper;

namespace CRS.Core.Entities
{
    [OrMemo("房间")]
    public class RoomInfo : BaseEntity
    {
        public const string STATE_BOOKING="预订", STATE_USING="上钟", STATE_UNUSE = "闲置";
        [OrMemo("房卡ID")]
        public virtual string CodeId { get; set; }
        [OrMemo("名称")]
        public virtual string Name { get; set; }
        [OrMemo("价格")]
        public virtual double Price { get; set; }
        [OrMemo("状态")]
        public virtual string State { get; set; }
        [OrMemo("商户")]
        public virtual ContactInfo Contact { get; set; }
    }
}
